package banwood.com.xiongfasy.activity;

import android.content.Intent;
import android.view.View;
import android.widget.Button;

import banwood.com.xiongfasy.BASE.BaseActivity;
import banwood.com.xiongfasy.R;
import butterknife.BindView;

/**
 * Created by Administrator on 2017/5/27 0027.
 */

public class QueryFailActivity extends BaseActivity {
    @BindView(R.id.report_query)
    Button reportQuery;
    private String title;
    private Intent intent;

    @Override
    protected int getLayoutId() {
        return R.layout.query_fail;
    }

    @Override
    protected void initView() {
        intent=getIntent();
        title=intent.getStringExtra("title");
        if(title!=null&&title.length()>0){
            settitle(title);
            reportQuery.setVisibility(View.GONE);
        }else{
            settitle("查询失败");
        }
        reportQuery.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

    @Override
    protected void initData() {

    }


}
